C89 typo fix in magproto.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 23 Apr 2006 21:15:02 +0000 (21:15 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 23 Apr 2006 21:15:02 +0000 (21:15 +0000)
gpsbabel/magproto.c

index 6dd2d8e8ac90ca6488eb71d1779cec3666854507..fcb1bf3bfdba94f7e1e8a242f26a4427a5a0ac76 100644 (file)
@@ -1417,8 +1417,8 @@ mag_route_trl(const route_head * rte)
                xfree(owpt);
                
                if ((tmp == &rte->waypoint_list) || ((i % 2) == 0)) {
-                       thisline++;
                        char expbuf[1024];
+                       thisline++;
                        expbuf[0] = 0;
                        if (explorist) {
                                snprintf(expbuf, sizeof(expbuf), "%s,",